package com.squirrel.michale;

/**
 * @author guanhao 观浩
 * @version 1.0.0.0
 * @createTime 2024/6/1 20:59
 * @company Michale Squirrel
 * @link
 * @description
 */
public class Day20240601_LeetCode000741 {

    public int cherryPickup(int[][] grid) {


        return process(0, grid, 0, 0);



    }

    private int process(int cherryCount,int[][] grid,int column,int row) {
        int state = grid[row][column];
        if (state == 0) {


        }
        if (state == 1) {
            cherryCount++;
            grid[row][column] = 0;
        }
        if (state == -1) {

        }

        return cherryCount;
    }
}
